﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="StudentResultEntry.aspx.cs" Inherits="UniversityManagementSystem.UI.StudentResultEntry" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <link href="../Styles/fontStyleSheet.css" rel="stylesheet" type="text/css" />
    <link href="../Styles/style.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="fontStyle">
        
        <asp:Label ID="Label1" runat="server" Text="Department" 
            CssClass="labelAlignment"></asp:Label>
        <asp:DropDownList ID="departmentDropDownList" runat="server" 
            AutoPostBack="True" 
            onselectedindexchanged="departmentDropDownList_SelectedIndexChanged" 
            Width="232px" CssClass="comboBoxAlignment" Height="25px">
        </asp:DropDownList>
        <br />
        <br />
        
        <asp:Label ID="Label2" runat="server" Text="Course" CssClass="labelAlignment"></asp:Label>
        <asp:DropDownList ID="courseDropDownList" runat="server" AutoPostBack="True" 
            CssClass="comboBoxAlignment">
        </asp:DropDownList>
        <br />
        <br />
        
        <asp:Label ID="Label3" runat="server" Text="Student Registration No" 
            CssClass="labelAlignment"></asp:Label>
        <asp:TextBox ID="studentRegTextBox" runat="server" CssClass="textBoxAlignment"></asp:TextBox>
        <asp:RequiredFieldValidator ID="studentRegistrationNoRequiredFieldValidator" 
            runat="server" ControlToValidate="studentRegTextBox" 
            ErrorMessage="Student Registration No Is Required" ForeColor="Red">*</asp:RequiredFieldValidator>
        
        <asp:Button ID="searchButton" runat="server" onclick="searchButton_Click" 
            Text="Search" CssClass="button" Width="80px" />
        <br />
        <br />
        
        <asp:Label ID="Label4" runat="server" Text="Name" CssClass="labelAlignment"></asp:Label>
        <asp:TextBox ID="studentNameTextBox" runat="server" 
            ReadOnly="True" CssClass="textBoxAlignment"></asp:TextBox>
        <br />
        <br />
        
        <asp:Label ID="Label5" runat="server" Text="Email" CssClass="labelAlignment"></asp:Label>
        <asp:TextBox ID="studentEmailTextBox" runat="server" ReadOnly="True" 
            CssClass="textBoxAlignment"></asp:TextBox>
        <br />
        <br />
       
        <asp:Label ID="Label6" runat="server" Text=" Obtained Grade Letter" 
            CssClass="labelAlignment"></asp:Label>
        <asp:DropDownList ID="obtainedGradeDropDownList" runat="server" Width="50px" 
            Height="25px">
            <asp:ListItem Value="4.00">A+</asp:ListItem>
            <asp:ListItem Value="3.75">A</asp:ListItem>
            <asp:ListItem Value="3.50">A-</asp:ListItem>
            <asp:ListItem Value="3.25">B+</asp:ListItem>
            <asp:ListItem Value="3.00">B</asp:ListItem>
            <asp:ListItem Value="2.75">B-</asp:ListItem>
            <asp:ListItem Value="2.50">C+</asp:ListItem>
            <asp:ListItem Value="2.25">C</asp:ListItem>
            <asp:ListItem Value="2.00">C-</asp:ListItem>
            <asp:ListItem Value="0.00">F</asp:ListItem>
        </asp:DropDownList>
        <br />
        <br />
        <asp:Button ID="saveButton" runat="server" onclick="saveButton_Click" 
            Text="Save" CssClass="button" Width="100px" />
        <br />
        <br />
        <asp:Label ID="messageLabel" runat="server"></asp:Label>
        <br />
        <br />
        <asp:ValidationSummary ID="ValidationSummary" runat="server" ForeColor="Red" 
            ShowMessageBox="True" ShowSummary="False" />
    </div>
</asp:Content>
